package com.zjitc.model;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/21 15:57
 * @description:
 */
public class ProductVo {
  private Integer pid;
  private String name;
  private String image;
  private String describe;
  private List<Comment> comment;


  public ProductVo() {
  }

  public ProductVo(Integer pid, String name, String image, String describe,
      List<Comment> comment) {
    this.pid = pid;
    this.name = name;
    this.image = image;
    this.describe = describe;
    this.comment = comment;
  }

  public Integer getPid() {
    return pid;
  }

  public void setPid(Integer pid) {
    this.pid = pid;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public String getDescribe() {
    return describe;
  }

  public void setDescribe(String describe) {
    this.describe = describe;
  }

  public List<Comment> getComment() {
    return comment;
  }

  public void setComment(List<Comment> comment) {
    this.comment = comment;
  }

  @Override
  public String toString() {
    return "ProductVo{" +
        "pid=" + pid +
        ", name='" + name + '\'' +
        ", image='" + image + '\'' +
        ", describe='" + describe + '\'' +
        ", comment=" + comment +
        '}';
  }
}
